BudgetPeriod

Represents the date range on which the budget calculations are based upon.

See also

Constructors

Link copied to clipboard
constructor(startDate: Date, periodType: PeriodType)
constructor(startDate: Int, periodType: PeriodType)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun contains(item: BudgetItem): Boolean

Check whether a BudgetItem interval is fully contained in a BudgetPeriod.

Link copied to clipboard

Check whether a BudgetItem interval is partially contained in a BudgetPeriod or vice versa.

Link copied to clipboard
fun setPeriodType(periodType: PeriodType)

Set the new PeriodType and recalculate the date range.

Link copied to clipboard
fun setStartDate(date: Int)

Set the start date and recalculate the end date.

Link copied to clipboard
open override fun toString(): String